<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <link rel="icon" href="<%= BASE_URL %>assets/logo.png" />
    <title><%= htmlWebpackPlugin.options.title %></title>
    <script src="<%= BASE_URL %>env/env.<%= NODE_ENV %>.js?v=<%= htmlWebpackPlugin.options.dateTime %>"></script>
  </head>
  <body>
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
        properly without JavaScript enabled. Please enable it to
        continue.</strong
      >
    </noscript>
    <div id="app"></div>
  </body>
  <script src="<%= BASE_URL %>lib/flv.min.js"></script>
  <script src="<%= BASE_URL %>lib/hls.min.js"></script>
  <script src="<%= BASE_URL %>lib/wx.sdk.js"></script>
  <script>
    // 是否进行灰色
    window.onload = function () {
      var isGrey = false;
      function setGrey() {
        var body = document.body;
        if (isGrey) {
          body.setAttribute("style", "filter: grayscale(1)");
        } else {
          body.setAttribute("style", "");
        }
      }
      setGrey();
    };
  </script>
</html>
